const { defineConfig } = require("@vue/cli-service");

module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  devServer: {
    port: 8090,
    host: "localhost",
    open: true,
    proxy: {
      "/seeyon/rest": {
        target: "http://192.168.120.133:8991",
        // pathRewrite: { "/seeyon/rest": "" },
      },
    },
  },
  publicPath: "./",
  outputDir: 'meetingHtml',
  configureWebpack: {
    module: {
      rules: [
        {
          test: /\.js$/,
          exclude: /node_modules/,
          use: {
            loader: 'babel-loader'
          }
        }
      ]
    }
  }
});
